<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/core/taglibs.jsp"%>


<!DOCTYPE html>
<html lang="en" class="bg-dark">
<head>
    <meta charset="utf-8" />
    <title>紅花（香港）集團-众艾车代理商管理系统</title>
    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <%@ include file="/core/memberZong.jsp" %>

    <script type="text/javascript">
        var checkSubmitFlg = false;


        function checkSubmit() {
            var loginName = document.forms[0]["loginName"];
            var onePassword = document.forms[0]["onePassword"];
            if(loginName.value == ""){
                alert("账号不能为空!");

                return false;
            }
            if(onePassword.value == ""){
                alert("密码不能为空!");

                return false;
            }

            if (checkSubmitFlg == true) {
                return false;
            }
            checkSubmitFlg = true;
            return true;
        }
        document.ondblclick = function docondblclick() {
            window.event.returnValue = false;
        }
        document.onclick = function doconclick() {
            if (checkSubmitFlg) {
                window.event.returnValue = false;
            }
        }
    </script>

</head>
<body>
<section id="content" class="m-t-lg wrapper-md animated fadeInDown">
    <div class="container aside-xxl"> <a class="navbar-brand block" href="index.html"> 紅花（香港）集團有限公司</a>
        <section class="panel panel-default m-t-lg bg-white">
            <header class="panel-heading text-center"> <strong style="font-size: 20px;">众艾车代理商管理系统</strong> </header>
            <form action="login.shtml"  method="post" onsubmit="checkSubmit()" class="panel-body wrapper-lg">
                <div class="form-group">
                    <label class="control-label">用户名：</label>
                    <input type="text" id="loginName" name="loginName" placeholder="请输入账号" class="form-control input-lg">
                </div>

                <div class="form-group">
                    <label class="control-label">密码：</label>
                    <input type="password" id="onePassword" name="onePassword" placeholder="请输入密码" class="form-control input-lg">
                </div>
                <div class="checkbox">

                </div>
                <button type="submit" class="btn btn-primary">登陆</button>
                <div class="line line-dashed"></div>
               <p class="text-muted text-center"><small style="color: red;">${retMsg}</small></p>
                <div class="line line-dashed"></div>
               <p class="text-muted text-center"><small>copyright©紅花（香港）集團有限公司FLOWER（HONG KONG）GROUP LIMITED</small></p>
            </form>
        </section>
    </div>
</section>
</body>
</html>


